package com.gdkj.common.annotataion;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface JWTTokenAuth {

    // 验证类型,默认true,必须传入token。false代表传入验证，不传入不处理
    boolean required() default true;
}
